Total Complexity | 94 |
Dependencies | 20 |
Dependents | 2 |
Total lines | 513 |
Lines of code | 262 |
Logical lines of code | 145 |
Comment lines | 140 |
Methods | 13 |
Properties | 1 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
getAuthenticatedUserResponse() | 36 | 17 | 75 | |
authorization() | 47 | 19 | 31 | |
getAuthenticatedUser() | 44 | 13 | 42 | |
getAppointmentsCountForUser() | 44 | 9 | 43 | |
setWpUserIdForExistingUser() | 54 | 8 | 20 | |
setWpUserIdForNewUser() | 56 | 7 | 17 | |
isCustomerBooking() | 65 | 6 | 8 | |
isAmeliaUser() | 67 | 4 | 8 | |
isAdminAndAllowedToBookAtAnyTime() | 69 | 3 | 6 | |
checkProviderPermissions() | 77 | 3 | 3 | |
isCustomer() | 78 | 2 | 3 | |
isProvider() | 78 | 2 | 3 | |
__construct() | 81 | 1 | 3 |